package cn.wk.user.service;

import cn.wk.basic.exception.DiyException;
import cn.wk.user.domain.dto.LoginInfoDto;

import java.util.Map;

public interface IWechatService {
    /**
     * 通过code获取token和处理其他业务
     * @param code
     */
    Map<String, Object> getToken(String code);

    Map<String,Object> theBinding(LoginInfoDto loginInfoDto) throws DiyException;
}
